<ul>
    <li{% ifequal sort "highest_rated" %} class='selected'{% endifequal %}><a href='?option=highest_rated' class='sort_option'>highest rated</a></li>
    <li{% ifequal sort "most_recent" %} class='selected'{% endifequal %}><a href='?option=most_recent' class='sort_option'>most recent</a></li>
    <li{% ifequal sort "most_discussed" %} class='selected'{% endifequal %}><a href='?option=most_discussed' class='sort_option'>most discussed</a></li>
</ul>